import type { RouteRecordRaw } from "vue-router";


export default <Array<RouteRecordRaw>>[
    {
        path: "/register",
        name: "userRegister",
        component: () => import("@/views/UserAccount/Register.vue"),
        meta: {
          title: "申请个人账号",
          allowLogout: true,
        },
      },
      {
        path: "/chooseCompany",
        name: "chooseCompany",
        component: () => import("@/views/UserAccount/ChooseCompany.vue"),
        meta: {
          title: "选择公司",
        },
      },
      {
        path: "/wxLogin",
        name: "wxLogin",
        component: () => import("@/views/UserAccount/WxLogin.vue"),
        meta: {
          title: "微信登录",
          allowLogout: true,
        },
      },
      {
        path: "/wxBind",
        name: "wxBind",
        component: () => import("@/views/UserAccount/WxBind.vue"),
        meta: {
          title: "微信绑定",
          allowLogout: true,
        },
      },
      {
        path: "/manageLogin",
        name: "manageLogin",
        component: () => import("@/views/UserAccount/Login.vue"),
        meta: {
          title: "后台管理",
          allowLogout:true
        },
      }
];
  